/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package testing_class;

import bsh.EvalError;
import bsh.Interpreter;
import java.io.FileNotFoundException;
import java.io.IOException;

/**
 *
 * @author minaev
 */
public class Interpreter_Main {
    public static void main(String[] args) throws FileNotFoundException, IOException, EvalError {
        InterpTest i = new InterpTest();
        i.eval("import testing_class.InterpTest; InterpTest it = new InterpTest();");
        i.eval("public void print_p(Object o){ it.print_p(o);}");
        i.source("/home/minaev/prg/javasrc/StendControl/test_script.ts");
    }
}
